

<form id="import-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <a href="/admin/dormitory/student/download">下载模板</a>
            </div>
        </div>
    </div>

    <div class="form-group row">
        <label class="control-label col-xs-12 col-sm-2">{:__('导入')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-files" data-rule="required" class="form-control" size="50" name="file" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span>
                        <button type="button" id="plupload-files" class="btn btn-danger plupload" data-url="{:url('ajax/upload')}" data-input-id="c-files" data-mimetype="*" data-multiple="true" data-preview-id="p-files">
                        <i class="fa fa-upload"></i> {:__('导入')}
                        </button>
                    </span>
                </div>
                <span class="msg-box n-right" for="c-files"></span>

            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

